package com.oocl.tm.pojo;

import java.io.OutputStream;

public class Client {
	
	private Integer id;
	private String name;
	private String pwd;
	private boolean isOnline;
	private OutputStream output;
	
	public Client() {
	}

	
	
	
	public Client(String name, String pwd, boolean isOnline, OutputStream output) {

		this.name = name;
		this.pwd = pwd;
		this.isOnline = isOnline;
		this.output = output;
	}




	public Client(String name, String pwd, boolean isOnline) {
		super();
		this.name = name;
		this.pwd = pwd;
		this.isOnline = isOnline;
	}




	public Client(String name, String pwd) {
		this.name = name;
		this.pwd = pwd;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPwd() {
		return pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public boolean isOnline() {
		return isOnline;
	}

	public void setOnline(boolean isOnline) {
		this.isOnline = isOnline;
	}

	public OutputStream getOutput() {
		return output;
	}

	public void setOutput(OutputStream output) {
		this.output = output;
	}

	@Override
	public String toString() {
		return "Client [id=" + id + ", name=" + name + ", pwd=" + pwd + ", isOnline=" + isOnline + ", output=" + output + "]";
	}

	
	
	
}
